\doxysection{arm\+\_\+math\+\_\+types\+\_\+f16.\+h}
\hypertarget{arm__math__types__f16_8h_source}{}\label{arm__math__types__f16_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/arm\_math\_types\_f16.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/arm\_math\_types\_f16.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ @file\ \ \ \ \ arm\_math\_types\_f16.h}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ @brief\ \ \ \ Public\ header\ file\ for\ f16\ function\ of\ the\ CMSIS\ DSP\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ @version\ \ V1.10.0}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ @date\ \ \ \ \ 08\ July\ 2021}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Target\ Processor:\ Cortex-\/M\ and\ Cortex-\/A\ cores}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ ******************************************************************************/}}
\DoxyCodeLine{00008\ \textcolor{comment}{/*}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ Copyright\ (c)\ 2010-\/2021\ Arm\ Limited\ or\ its\ affiliates.\ All\ rights\ reserved.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ SPDX-\/License-\/Identifier:\ Apache-\/2.0}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ Licensed\ under\ the\ Apache\ License,\ Version\ 2.0\ (the\ License);\ you\ may}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ not\ use\ this\ file\ except\ in\ compliance\ with\ the\ License.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ You\ may\ obtain\ a\ copy\ of\ the\ License\ at}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ www.apache.org/licenses/LICENSE-\/2.0}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Unless\ required\ by\ applicable\ law\ or\ agreed\ to\ in\ writing,\ software}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ distributed\ under\ the\ License\ is\ distributed\ on\ an\ AS\ IS\ BASIS,\ WITHOUT}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ WARRANTIES\ OR\ CONDITIONS\ OF\ ANY\ KIND,\ either\ express\ or\ implied.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ See\ the\ License\ for\ the\ specific\ language\ governing\ permissions\ and}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ limitations\ under\ the\ License.}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#ifndef\ \_ARM\_MATH\_TYPES\_F16\_H}}
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#define\ \_ARM\_MATH\_TYPES\_F16\_H}}
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_types.h"{}}}
\DoxyCodeLine{00030\ }
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00032\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}}
\DoxyCodeLine{00033\ \{}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#if\ !defined(\ \_\_CC\_ARM\ )}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ \textcolor{comment}{/*}}
\DoxyCodeLine{00046\ \textcolor{comment}{}}
\DoxyCodeLine{00047\ \textcolor{comment}{Check\ if\ the\ type\ \_\_fp16\ is\ available.}}
\DoxyCodeLine{00048\ \textcolor{comment}{If\ it\ is\ not\ available,\ f16\ version\ of\ the\ kernels}}
\DoxyCodeLine{00049\ \textcolor{comment}{won't\ be\ built.}}
\DoxyCodeLine{00050\ \textcolor{comment}{}}
\DoxyCodeLine{00051\ \textcolor{comment}{*/}}
\DoxyCodeLine{00052\ \textcolor{preprocessor}{\#if\ !(\_\_ARM\_FEATURE\_MVE\ \&\ 2)}}
\DoxyCodeLine{00053\ \textcolor{preprocessor}{\ \ \#if\ !defined(DISABLEFLOAT16)}}
\DoxyCodeLine{00054\ \textcolor{preprocessor}{\ \ \ \ \#if\ defined(\_\_ARM\_FP16\_FORMAT\_IEEE)\ ||\ defined(\_\_ARM\_FP16\_FORMAT\_ALTERNATIVE)}}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \textcolor{keyword}{typedef}\ \_\_fp16\ float16\_t;}
\DoxyCodeLine{00056\ \textcolor{preprocessor}{\ \ \ \ \ \ \#define\ ARM\_FLOAT16\_SUPPORTED}}
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\ \ \ \ \#endif}}
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\ \ \#endif}}
\DoxyCodeLine{00059\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00060\ \ \ \textcolor{comment}{/*\ When\ Vector\ float16,\ this\ flag\ is\ always\ defined\ and\ can't\ be\ disabled\ */}}
\DoxyCodeLine{00061\ \textcolor{preprocessor}{\ \ \#define\ ARM\_FLOAT16\_SUPPORTED}}
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_NEON)\ ||\ (defined(ARM\_MATH\_MVEF)\ \ \&\&\ !defined(ARM\_MATH\_AUTOVECTORIZE))\ }\textcolor{comment}{/*\ floating\ point\ vector*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_MVE\_FLOAT16)\ ||\ defined(ARM\_MATH\_NEON\_FLOAT16)}}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00071\ \ \ \textcolor{keyword}{typedef}\ \_\_ALIGNED(2)\ float16x8\_t\ f16x8\_t;}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00076\ \ \ typedef\ float16x8x2\_t\ f16x8x2\_t;}
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00081\ \ \ typedef\ float16x8x4\_t\ f16x8x4\_t;}
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00086\ \ \ typedef\ union\ \_any16x8\_t}
\DoxyCodeLine{00087\ \ \ \{}
\DoxyCodeLine{00088\ \ \ \ \ \ \ float16x8\_t\ \ \ \ \ f;}
\DoxyCodeLine{00089\ \ \ \ \ \ \ int16x8\_t\ \ \ \ \ \ \ i;}
\DoxyCodeLine{00090\ \ \ \}\ any16x8\_t;}
\DoxyCodeLine{00091\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00095\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_NEON)}}
\DoxyCodeLine{00096\ }
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_NEON\_FLOAT16)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00102\ \ \ \textcolor{keyword}{typedef}\ \ \_\_ALIGNED(2)\ float16x4\_t\ f16x4\_t;}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00107\ \ \ typedef\ float16x8x3\_t\ f16x8x3\_t;}
\DoxyCodeLine{00108\ }
\DoxyCodeLine{00112\ \ \ typedef\ float16x4x2\_t\ f16x4x2\_t;}
\DoxyCodeLine{00113\ }
\DoxyCodeLine{00117\ \ \ typedef\ float16x4x3\_t\ f16x4x3\_t;}
\DoxyCodeLine{00118\ }
\DoxyCodeLine{00122\ \ \ typedef\ float16x4x4\_t\ f16x4x4\_t;}
\DoxyCodeLine{00123\ }
\DoxyCodeLine{00127\ \ \ typedef\ union\ \_any16x4\_t}
\DoxyCodeLine{00128\ \ \ \{}
\DoxyCodeLine{00129\ \ \ \ \ \ \ float16x4\_t\ \ \ \ \ f;}
\DoxyCodeLine{00130\ \ \ \ \ \ \ int16x4\_t\ \ \ \ \ \ \ i;}
\DoxyCodeLine{00131\ \ \ \}\ any16x4\_t;}
\DoxyCodeLine{00132\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00134\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00135\ }
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00137\ }
\DoxyCodeLine{00138\ \textcolor{preprocessor}{\#if\ defined(ARM\_FLOAT16\_SUPPORTED)}}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00140\ \textcolor{preprocessor}{\#if\ defined(\_\_ICCARM\_\_)}}
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\#define\ F16INFINITY\ \ \ ((float16\_t)\ INFINITY)}}
\DoxyCodeLine{00143\ }
\DoxyCodeLine{00144\ \textcolor{preprocessor}{\#else}}
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00146\ \textcolor{preprocessor}{\#define\ F16INFINITY\ ((float16\_t)\_\_builtin\_inf())}}
\DoxyCodeLine{00147\ }
\DoxyCodeLine{00148\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00150\ \textcolor{preprocessor}{\#define\ F16\_MAX\ \ \ ((float16\_t)\_\_FLT16\_MAX\_\_)}}
\DoxyCodeLine{00151\ \textcolor{preprocessor}{\#define\ F16\_MIN\ \ \ (-\/(\_Float16)\_\_FLT16\_MAX\_\_)}}
\DoxyCodeLine{00152\ }
\DoxyCodeLine{00153\ \textcolor{preprocessor}{\#define\ F16\_ABSMAX\ \ \ ((float16\_t)\_\_FLT16\_MAX\_\_)}}
\DoxyCodeLine{00154\ \textcolor{preprocessor}{\#define\ F16\_ABSMIN\ \ \ ((float16\_t)0.0f16)}}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00156\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ ARM\_FLOAT16\_SUPPORTED*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00157\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ !defined(\ \_\_CC\_ARM\ )\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00158\ }
\DoxyCodeLine{00159\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00160\ \}}
\DoxyCodeLine{00161\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00163\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_ARM\_MATH\_F16\_H\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
